-- GENERATED SPELL FOR [Phaseshift Bulwark] --


function spell0_21273(pUnit, Event) --@Shield Bash,n/a--
pUnit:FullCastSpellOnTarget(36988,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_21273', 8332, 1)
end

function Sorts_21273(pUnit, Event)
local choix_sorts_21273 = math.random(0, 0)
if choix_sorts_21273 == 0 then
pUnit:RegisterEvent('spell0_21273', 1, 1)
end
end

function mob21273_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21273', math.random(1500, 3000), 1)
end

function mob21273_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21273_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21273_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21273, 1, 'mob21273_Action')
RegisterUnitEvent(21273, 2, 'mob21273_Leave')
RegisterUnitEvent(21273, 3, 'mob21273_Kill')
RegisterUnitEvent(21273, 4, 'mob21273_Die')
